'use client'

import { useParams } from 'next/navigation'
import { TaskExecution } from '@/components/TaskExecution'

export default function TaskPage() {
    const params = useParams()
    const datasetId = params.datasetId as string
    const taskId = params.taskId as string

    return <TaskExecution datasetId={datasetId} taskId={taskId} />
}